
public class StackException extends Exception {
	public static int STACK_OVERFLOW = -2;
	public static int STACK_UNDERFLOW = -1;
	public int exceptionType;
	
	public StackException(int type){
		exceptionType = type;
	}
	public int getExceptionType(){
		return exceptionType;
	}
	
}
